Freemius\FS_Plugin_Updater D

Total Complexity 206
Dependencies 10
Dependents 2
Total lines 1,580
Lines of code 866
Logical lines of code 407
Comment lines 470
Methods 29
Properties 6

Methods 29

Method Rating Maintainability Complexity Lines of code
pre_set_site_transient_update_plugins_filter()
D
31 32 110
plugins_api_filter()
C
31 28 109
install_and_activate_plugin()
B
32 18 106
set_update_data()
A
45 13 44
_maybe_adjust_source_dir()
A
44 12 46
get_installed_translations()
A
47 12 35
edit_and_echo_plugin_update_row()
A
40 9 69
edit_and_echo_plugin_information_dialog_contents()
A
42 10 51
_maybe_update_folder_name()
A
51 9 26
fetch_wp_org_module_translation_updates()
A
43 7 51
filters()
S
49 6 31
get_update_details()
S
50 6 28
_fetch_plugin_info_from_repository()
S
52 6 25
delete_update_data()
S
57 5 17
change_theme_update_info_html()
S
55 4 20
add_transient_filters()
S
58 4 18
is_new_version_premium()
S
65 3 8
catch_plugin_information_dialog_contents()
S
63 3 10
get_tested_wp_version()
S
69 3 6
_store_basename_for_source_adjustment()
S
64 3 10
http_request_host_is_external_filter()
S
77 2 3
try_activate_plugin()
S
70 2 6
is_premium_plugin_active()
S
70 2 6
instance()
S
68 2 7
__construct()
S
71 1 5
remove_transient_filters()
S
66 1 10
get_latest_download_details()
S
78 1 3
is_correct_folder_name()
S
78 1 3
catch_plugin_update_row()
S
83 1 3